var express = require('express');

var router = express.Router();

const { login, register, addClients, getClient, deletClient, getClientsById, updateClient } = require("../controllers/clients")

router.post("/login", login)
router.post("/register", register)
router.post("/deletClient", deletClient)
router.post("/addClients", addClients)
router.put("/", updateClient)
router.get("/getClient", getClient)
router.get("/:_id", getClientsById)


module.exports = router;
